* LST FILE,DDT8LST
nolist = 1 ;set to 0 to generate listing
 do nolist
 LST OFF
 else
 LST ON
 fin
 XC
 XC
 MX 3 ;8 BIT DATA, 8 BIT INDEXES
 TR ON
 DAT

debug = 0 ;set to 1 when using APW debugger


 ORG $2000 ;RUNS FROM $C800-$CFFF SPACE

 DSK DDT8OBJ
 PUT EQU1
 PUT SEG0
 PUT SEG1
 PUT SEG2
 PUT SEG3
 PUT SEG4
 PUT SEG5
 PUT SEG6
 PUT SEG7

 END

*
* THIS VERSION IS FOR THE 
* ProDev DDT8  PRODUCTION CARD. (//E ONLY)
*
* THE DEFAULT MODES ARE INVISIBLE, 65C02, EMULATE
*
*
* "PRODEV/DDT8 version 1.6"
*
* COPYRIGHT 1985, 1986, 1987, 1988, 1990, 1991 BY:
*
* PRODEV, INC.
* P.O. Box 162
* LaSalle, MI  48145-0162
* (313) 848-4012
*
* BY: CHUCK KELLY
*

*** UPDATE NOTES ***

* V2.0.BB

* MAILED TO BETA TESTERS ON JUNE 22ND, 1987
* CORRECTS PROBELM OF ZAPPING BASL & BASH ZERO PAGE LOCATIONS WHEN IN
* SERIAL MODE.
* ADDS OPTIONAL ADDRESS TO "GO" COMMAND.
* AUTOMATICALLY INITIALIZES SSC WHEN I/O MODE FLAG IS SET TO SERIAL I/O
* BY USERS OWN INITIALIZATION ROUTINE.

* V2.0.BC

* MAILED TO DARACH FOSKETT ON JULY 21ST, 1987
* CORRECTS BUG WHEN "SED" OPCODE IS TRACED.
* ADDS DEFAULTS OF REAL AND 1 PASS TO "SB" COMMAND.
* DEFAULTS TO CURRENT BANK # RATHER THAN BANK #0.
* BANK NUMBER MUST BE FOLLOWED BY "/".
* "MM" EXIT COMMAND CHANGED FROM ":" TO ":<cr>".
* CORRECTS BUG PREVENTING DELETE FROM SERIAL TERMINAL.

* v2e1.0

* FIRST OFFICIAL RELEASE. MAILED TO ORIGIN SYSTEMS ON JULY 29TH, 1987
* CORRECTS PROBLEM WITH "ET" FROM V2.0.BC

* V2e1.1

* 11/25/87
* L or LI both produce a listing. The effective address window no longer
* displays the $C0 page. The effective address shows the correct bank #.
* Added titles to main display.

* v2e1.2x

* 12/26/87
* New method of realtime execution. Place a BRK at opcode of instruction
* to stop realtime execution at. Also do special check for ProDos MLI
* calls. This method also allows parameter passing to subroutines on
* the stack and the old method did not

* 1/1/88
* Disassemble the Prodos MLI calls

* 1/18/88
* Added STEP1 in SZEROFONE that traces 1 instruction, even our real BRK,
* (does not stop even if trace count reaches 0) then goes to the address
* in the ENABLTVC vector.
* [GO] Trace 1st instruction then go. Allows a "GO" when at a Breakpoint.

* 1/23/88
* Make more TRACE steps fit on the screen.
* Add "HEX" and "ADR" assembler directives.
* Show code generated by miniassembler.

* 2/2/88
* Add ERROR numbers.
*  01 = Invalid command
*  02 = Address expected (not used)
*  03 = Number expected (not used)
*  04 = Bad command parameter
*  05 = Illegal bank selected (not used)
*
*  10 = No room for additional Breakpoints
*
*  20 = Command will not work in ROM
*
* Corrected problem of locking up when an invalid Ram bank is selected.
*
*********************************
*   VERSION 1.3

* 7/7/88
* Moved CHKRANG from segzero to segfive to make room for
* exchanging zero page locations in LDAINDY & STAINDY
* which corrected memory window display of zero page locations.

**********************************
*   VERSION 1.4

* 9/21/88
* Corrected effective address calculation for MODE 7 (d,x).

**********************************
*   VERSION 1.4.1

* 12/12/88
* Corrected bug in RESETJMP (warm entry) that crashed when a vector
* address (i.e. $FFFE) was displayed. The VIA CB2 pin was not being
* set HI which allowed accesses to a vector to pull /INH low and
* prevented selecting other ROM segments other than 0.

* Corrected bug in DISFMES when the previous screen display was a 
* full screen (i.e. ?). If WINDFLG is >=$80 it will now do an "ON"
* command to restore the windows.

* Added copyright notice to memory window.
* Changed flag window labels to lower case.
* Changed "MO" command to update flag window

* 12/14/88
* Added options to the $Cn03 entry point. Enter with the accumulator
* containing the following:
* Acc = $02 = Button & BRKs are not enabled, writing to DDT is enabled,
*             accessing vectors ($FFE8-$FFFF) is OK.
* Acc = $03 = Button is only way into DDT, DDT is write protected,
*             accessing vectors is OK.
* Acc = xx  = Button & BRKs are enabled, writing to DDT is enabled, 
*             !! WARNING !! accessing vectors turns on /INH flip-flop
*             and prevents access to Apple's $FFxx ROM space. 

*-------------------------------------------------
* Version 1.5
* 12/26/90
* Changes to make the DDT8 & DDT16 look similar.
* BUG -- in serial I/O the pause key is always ^S and does not use "KEy"
* value, also the terminal must send the ^S with Hi bit set.
* ------------ shipped 5 to A2-central -------------

*-------------------------------------------------
* Version 1.6
* 1/2/91
* Moved a lot of stuff around because SEG0 was full.
* Corrected bug in Serial I/O so KEy value now works.
* PW command updates PW window when "esc" is pressed.
* MO command made I/O selection correspond to slots used.
* Removed extra blank line when Tracing by 1s.
